package come.bjpowernode.javase.reflect.service;
/*
用户业务类
 */
public class UserService {
    public boolean login(String naem,String password){
        int no;
        int age;
        if("admin".equals(naem)||"123".equals(password)){
            return true;
        }
        return false;
    }

    public void logout(){
        System.out.println("系统化已经安全退出！");
    }
}
